{% extends 'layout.html' %}

{% block title %}
    查看诗歌
{% endblock %}

{% block main %}
     <table class="table table-hover table-bordered">
        <thead>
            <tr>
                <td>标题</td>
                <td>内容</td>
                <td>作者</td>
            </tr>
        </thead>
        <tbody>
            {% for poem in poems %}
                    <tr>
                    <td>{{ poem.title }}</td>
                    <td>{{ poem.content }}</td>
                    <td>{{ poem.author }}</td>
                    </tr>
            {% endfor %}
        </tbody>
     </table>
{% endblock %}